package cn.wolfcode.wms.service.impl;

import cn.wolfcode.wms.mapper.ChartMapper;
import cn.wolfcode.wms.query.QueryObject;
import cn.wolfcode.wms.service.IChartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class ChartServiceImpl implements IChartService {

	@Autowired
	private ChartMapper mapper;
	
	@Override
	public List<Map<String, Object>> orderChart(QueryObject qo) {
		return mapper.orderChart(qo);
	}


	@Override
	public List<Map<String, Object>> saleChart(QueryObject qo) {
		return mapper.saleChart(qo);
	}

}
